package com.company;

/**
 * Created by ruoan on 2020/9/24 15:58
 */
public class User2 {

    private long id;
    private String username;
    private int age;

    public void setId(long id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setAge(int age) {
        this.age = age;
    }


    public long getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public int getAge() {
        return age;
    }

    @Override
    public String toString() {
        return "User2{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", age=" + age +
                '}';
    }

    public User2() {
    }

    public User2(long id, String username, int age) {
        this.id = id;
        this.username = username;
        this.age = age;
    }
}
